:有下列算法片段,请分析算法的时间复杂度是(   )void func(int n){  int i=0,s=0;   while (sA:O(n)B:O(logn)C:O(n^2)D:O(sqrt(n))答案: O(sqrt(n))11、



登录
订单
帮助
主页